package com.qianhui.pojo;

import java.sql.Timestamp;

/**
 * GoodsCommission entity. @author MyEclipse Persistence Tools
 */

public class GoodsCommission implements java.io.Serializable
{

    // Fields

    private String goodsCommissionId;
    private String goodsId;
    private String buyerId;
    private Double goodsCommission;
    private Timestamp commissionUpdateTime;

    // Constructors

    /**
     * default constructor
     */
    public GoodsCommission()
    {
    }

    /**
     * full constructor
     */
    public GoodsCommission(String goodsCommissionId, String goodsId, String buyerId, Double goodsCommission, Timestamp commissionUpdateTime)
    {
        this.goodsCommissionId = goodsCommissionId;
        this.goodsId = goodsId;
        this.buyerId = buyerId;
        this.goodsCommission = goodsCommission;
        this.commissionUpdateTime = commissionUpdateTime;
    }

    // Property accessors

    public String getGoodsCommissionId()
    {
        return this.goodsCommissionId;
    }

    public void setGoodsCommissionId(String goodsCommissionId)
    {
        this.goodsCommissionId = goodsCommissionId;
    }

    public String getGoodsId()
    {
        return this.goodsId;
    }

    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getBuyerId()
    {
        return this.buyerId;
    }

    public void setBuyerId(String buyerId)
    {
        this.buyerId = buyerId;
    }

    public Double getGoodsCommission()
    {
        return this.goodsCommission;
    }

    public void setGoodsCommission(Double goodsCommission)
    {
        this.goodsCommission = goodsCommission;
    }

    public Timestamp getCommissionUpdateTime()
    {
        return this.commissionUpdateTime;
    }

    public void setCommissionUpdateTime(Timestamp commissionUpdateTime)
    {
        this.commissionUpdateTime = commissionUpdateTime;
    }

    @Override
    public String toString()
    {
        return "GoodsCommission [goodsCommissionId=" + goodsCommissionId + ", goodsId=" + goodsId + ", buyerId=" + buyerId + ", goodsCommission=" + goodsCommission + ", commissionUpdateTime=" + commissionUpdateTime + "]";
    }


}